inherited frmInsereItem: TfrmInsereItem
  Left = 270
  Top = 105
  Caption = 'Inser'#231#227'o de Itens'
  ClientHeight = 724
  ClientWidth = 952
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Width = 952
    Height = 126
    object lblNumSerie: TLabel
      Left = 18
      Top = 50
      Width = 93
      Height = 14
      Caption = 'N'#250'mero de s'#233'rie'
    end
    object lblNumNota: TLabel
      Left = 24
      Top = 74
      Width = 87
      Height = 14
      Caption = 'N'#250'mero da nota'
    end
    object Label3: TLabel
      Left = 64
      Top = 99
      Width = 47
      Height = 14
      Caption = 'Entidade'
    end
    object rgTipo: TRadioGroup
      Left = 3
      Top = 3
      Width = 946
      Height = 38
      Align = alTop
      Columns = 2
      ItemIndex = 0
      Items.Strings = (
        'NF Venda'
        'NF Compra')
      TabOrder = 0
      OnClick = rgTipoClick
      OnExit = rgTipoClick
    end
    object EdtNumSerie: TEdit
      Left = 115
      Top = 46
      Width = 46
      Height = 22
      BevelKind = bkFlat
      BorderStyle = bsNone
      CharCase = ecUpperCase
      MaxLength = 3
      TabOrder = 1
    end
    object EdtNumNota: TEdit
      Left = 115
      Top = 70
      Width = 74
      Height = 22
      BevelKind = bkFlat
      BorderStyle = bsNone
      CharCase = ecUpperCase
      MaxLength = 9
      TabOrder = 2
      OnKeyDown = EdtNumNotaKeyDown
    end
    object EdtEntCodigo: TEdit
      Left = 115
      Top = 95
      Width = 46
      Height = 22
      BevelKind = bkFlat
      BorderStyle = bsNone
      CharCase = ecUpperCase
      MaxLength = 5
      TabOrder = 3
      OnKeyDown = EdtEntCodigoKeyDown
    end
  end
  inherited Panel2: TPanel
    Top = 126
    Width = 952
    Height = 531
    object Label18: TLabel
      Left = 216
      Top = 696
      Width = 65
      Height = 14
      Caption = 'ITNV_DESC4'
    end
    object Label19: TLabel
      Left = 216
      Top = 736
      Width = 65
      Height = 14
      Caption = 'ITNV_DESC5'
    end
    object Label20: TLabel
      Left = 216
      Top = 776
      Width = 85
      Height = 14
      Caption = 'ITNV_ALIQICMS'
    end
    object Label21: TLabel
      Left = 216
      Top = 816
      Width = 53
      Height = 14
      Caption = 'ITNV_CST'
    end
    object Label22: TLabel
      Left = 216
      Top = 856
      Width = 77
      Height = 14
      Caption = 'CODF_CODIGO'
    end
    object Label23: TLabel
      Left = 216
      Top = 896
      Width = 76
      Height = 14
      Caption = 'ICMS_CODIGO'
    end
    object Label24: TLabel
      Left = 216
      Top = 936
      Width = 68
      Height = 14
      Caption = 'ITNV_CUSTO'
    end
    object Label25: TLabel
      Left = 216
      Top = 976
      Width = 106
      Height = 14
      Caption = 'ITNV_OBSERVACAO'
    end
    object Label26: TLabel
      Left = 216
      Top = 1016
      Width = 59
      Height = 14
      Caption = 'ITNV_ICMS'
    end
    object Label27: TLabel
      Left = 216
      Top = 1056
      Width = 44
      Height = 14
      Caption = 'ITNV_IPI'
    end
    object Label28: TLabel
      Left = 216
      Top = 1096
      Width = 128
      Height = 14
      Caption = 'ITNV_ESTOQUEBAIXADO'
    end
    object Label29: TLabel
      Left = 216
      Top = 1136
      Width = 101
      Height = 14
      Caption = 'ITNV_VALORFRETE'
    end
    object PageControl1: TPageControl
      Left = 3
      Top = 3
      Width = 946
      Height = 525
      ActivePage = TabSheet2
      Align = alClient
      TabOrder = 0
      object TabSheet1: TTabSheet
        Caption = 'Venda'
        object DBNavigator1: TDBNavigator
          Left = 0
          Top = 0
          Width = 938
          Height = 38
          DataSource = dsVenda
          VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
          Align = alTop
          TabOrder = 0
        end
        object DBGrid1: TDBGrid
          Left = 0
          Top = 38
          Width = 938
          Height = 258
          Align = alClient
          DataSource = dsVenda
          TabOrder = 1
          TitleFont.Charset = ANSI_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Arial'
          TitleFont.Style = [fsBold]
          Columns = <
            item
              Expanded = False
              FieldName = 'ITNV_ITEM'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'REF_SERIE'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'REF_NUMERO'
              Width = 76
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'REF_ITNV_ITEM'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'PRO_CODIGO'
              Width = 93
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'EMP_CODIGO'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_QUANTIDADE'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_VALORUNIT'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_ALIQIPI'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_DATAFAT'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_ALIQICMS'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_CST'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'CODF_CODIGO'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_OBSERVACAO'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_ICMS'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNV_IPI'
              Visible = True
            end>
        end
        object Panel3: TPanel
          Left = 0
          Top = 296
          Width = 938
          Height = 200
          Align = alBottom
          Enabled = False
          TabOrder = 2
          object Label1: TLabel
            Left = 16
            Top = 8
            Width = 54
            Height = 14
            Caption = 'S'#233'rie REF.'
            FocusControl = DBEdit1
          end
          object Label2: TLabel
            Left = 96
            Top = 8
            Width = 38
            Height = 14
            Caption = 'NF REF.'
            FocusControl = DBEdit2
          end
          object Label5: TLabel
            Left = 232
            Top = 8
            Width = 47
            Height = 14
            Caption = 'Item REF'
            FocusControl = DBEdit4
          end
          object Label6: TLabel
            Left = 16
            Top = 56
            Width = 44
            Height = 14
            Caption = 'Produto'
            FocusControl = DBEdit5
          end
          object Label7: TLabel
            Left = 200
            Top = 56
            Width = 49
            Height = 14
            Caption = 'Empresa'
            FocusControl = DBEdit6
          end
          object Label8: TLabel
            Left = 264
            Top = 56
            Width = 62
            Height = 14
            Caption = 'Quantidade'
            FocusControl = DBEdit7
          end
          object Label9: TLabel
            Left = 336
            Top = 56
            Width = 56
            Height = 14
            Caption = 'Valor Unit.'
            FocusControl = DBEdit8
          end
          object Label10: TLabel
            Left = 440
            Top = 56
            Width = 40
            Height = 14
            Caption = 'Aliq. IPI'
            FocusControl = DBEdit9
          end
          object Label11: TLabel
            Left = 584
            Top = 56
            Width = 60
            Height = 14
            Caption = 'Data Fatura'
            FocusControl = DBEdit10
          end
          object Label12: TLabel
            Left = 512
            Top = 56
            Width = 55
            Height = 14
            Caption = 'Aliq. ICMS'
            FocusControl = DBEdit11
          end
          object Label4: TLabel
            Left = 16
            Top = 104
            Width = 22
            Height = 14
            Caption = 'CST'
            FocusControl = DBEdit3
          end
          object Label13: TLabel
            Left = 88
            Top = 104
            Width = 29
            Height = 14
            Caption = 'CFOP'
            FocusControl = DBEdit12
          end
          object Label14: TLabel
            Left = 16
            Top = 152
            Width = 65
            Height = 14
            Caption = 'Observa'#231#227'o'
            FocusControl = DBEdit13
          end
          object Label15: TLabel
            Left = 200
            Top = 104
            Width = 50
            Height = 14
            Caption = 'Vlr. ICMS'
            FocusControl = DBEdit14
          end
          object Label16: TLabel
            Left = 344
            Top = 104
            Width = 35
            Height = 14
            Caption = 'Vlr. IPI'
            FocusControl = DBEdit15
          end
          object DBEdit1: TDBEdit
            Left = 16
            Top = 24
            Width = 43
            Height = 22
            DataField = 'REF_SERIE'
            DataSource = dsVenda
            TabOrder = 0
          end
          object DBEdit2: TDBEdit
            Left = 96
            Top = 24
            Width = 121
            Height = 22
            DataField = 'REF_NUMERO'
            DataSource = dsVenda
            TabOrder = 1
            OnExit = DBEdit2Exit
          end
          object DBEdit4: TDBEdit
            Left = 232
            Top = 24
            Width = 30
            Height = 22
            DataField = 'REF_ITNV_ITEM'
            DataSource = dsVenda
            TabOrder = 2
            OnExit = DBEdit4Exit
          end
          object DBEdit5: TDBEdit
            Left = 16
            Top = 72
            Width = 177
            Height = 22
            DataField = 'PRO_CODIGO'
            DataSource = dsVenda
            TabOrder = 3
          end
          object DBEdit6: TDBEdit
            Left = 200
            Top = 72
            Width = 43
            Height = 22
            DataField = 'EMP_CODIGO'
            DataSource = dsVenda
            TabOrder = 4
            OnExit = DBEdit6Exit
          end
          object DBEdit7: TDBEdit
            Left = 264
            Top = 72
            Width = 65
            Height = 22
            DataField = 'ITNV_QUANTIDADE'
            DataSource = dsVenda
            TabOrder = 5
          end
          object DBEdit8: TDBEdit
            Left = 336
            Top = 72
            Width = 97
            Height = 22
            DataField = 'ITNV_VALORUNIT'
            DataSource = dsVenda
            TabOrder = 6
          end
          object DBEdit9: TDBEdit
            Left = 440
            Top = 72
            Width = 65
            Height = 22
            DataField = 'ITNV_ALIQIPI'
            DataSource = dsVenda
            TabOrder = 7
            OnExit = DBEdit9Exit
          end
          object DBEdit10: TDBEdit
            Left = 584
            Top = 72
            Width = 89
            Height = 22
            DataField = 'ITNV_DATAFAT'
            DataSource = dsVenda
            TabOrder = 9
            OnExit = DBEdit10Exit
          end
          object DBEdit11: TDBEdit
            Left = 512
            Top = 72
            Width = 65
            Height = 22
            DataField = 'ITNV_ALIQICMS'
            DataSource = dsVenda
            TabOrder = 8
            OnExit = DBEdit11Exit
          end
          object DBEdit3: TDBEdit
            Left = 16
            Top = 120
            Width = 43
            Height = 22
            DataField = 'ITNV_CST'
            DataSource = dsVenda
            TabOrder = 10
            OnExit = DBEdit3Exit
          end
          object DBEdit12: TDBEdit
            Left = 88
            Top = 120
            Width = 69
            Height = 22
            DataField = 'CODF_CODIGO'
            DataSource = dsVenda
            TabOrder = 11
          end
          object DBEdit13: TDBEdit
            Left = 16
            Top = 168
            Width = 524
            Height = 22
            DataField = 'ITNV_OBSERVACAO'
            DataSource = dsVenda
            TabOrder = 14
          end
          object DBEdit14: TDBEdit
            Left = 200
            Top = 120
            Width = 134
            Height = 22
            DataField = 'ITNV_ICMS'
            DataSource = dsVenda
            TabOrder = 12
          end
          object DBEdit15: TDBEdit
            Left = 344
            Top = 120
            Width = 134
            Height = 22
            DataField = 'ITNV_IPI'
            DataSource = dsVenda
            TabOrder = 13
          end
        end
      end
      object TabSheet2: TTabSheet
        Caption = 'Comprar'
        ImageIndex = 1
        object DBNavigator2: TDBNavigator
          Left = 0
          Top = 0
          Width = 938
          Height = 38
          DataSource = dsCompra
          VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
          Align = alTop
          TabOrder = 0
        end
        object DBGrid2: TDBGrid
          Left = 0
          Top = 38
          Width = 938
          Height = 263
          Align = alClient
          DataSource = dsCompra
          TabOrder = 1
          TitleFont.Charset = ANSI_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Arial'
          TitleFont.Style = [fsBold]
          Columns = <
            item
              Expanded = False
              FieldName = 'NOTC_ITEM'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'REF_NOTAC_NUMERO'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'REF_NOTC_SERIE'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'REF_NOTC_ITEM'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'PRO_CODIGO'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_QUANTIDADE'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_VALORUNIT'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_DATAENTRADA'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_ALIQIPI'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_ALIQICMS'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_CST'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'CODF_CODIGO'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_OBSERVACAO'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_ICMS'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITNC_IPI'
              Visible = True
            end>
        end
        object Panel5: TPanel
          Left = 0
          Top = 301
          Width = 938
          Height = 195
          Align = alBottom
          Enabled = False
          TabOrder = 2
          object Label17: TLabel
            Left = 8
            Top = 6
            Width = 54
            Height = 14
            Caption = 'S'#233'rie REF.'
            FocusControl = DBEdit16
          end
          object Label30: TLabel
            Left = 80
            Top = 6
            Width = 38
            Height = 14
            Caption = 'NF REF.'
            FocusControl = DBEdit17
          end
          object Label31: TLabel
            Left = 217
            Top = 6
            Width = 47
            Height = 14
            Caption = 'Item REF'
            FocusControl = DBEdit18
          end
          object Label32: TLabel
            Left = 8
            Top = 54
            Width = 44
            Height = 14
            Caption = 'Produto'
            FocusControl = DBEdit19
          end
          object Label33: TLabel
            Left = 168
            Top = 54
            Width = 62
            Height = 14
            Caption = 'Quantidade'
            FocusControl = DBEdit20
          end
          object Label34: TLabel
            Left = 248
            Top = 54
            Width = 56
            Height = 14
            Caption = 'Valor Unit.'
            FocusControl = DBEdit21
          end
          object Label35: TLabel
            Left = 496
            Top = 54
            Width = 67
            Height = 14
            Caption = 'Data Entrada'
            FocusControl = DBEdit22
          end
          object Label36: TLabel
            Left = 424
            Top = 54
            Width = 40
            Height = 14
            Caption = 'Aliq. IPI'
            FocusControl = DBEdit23
          end
          object Label37: TLabel
            Left = 352
            Top = 54
            Width = 55
            Height = 14
            Caption = 'Aliq. ICMS'
            FocusControl = DBEdit24
          end
          object Label38: TLabel
            Left = 8
            Top = 102
            Width = 22
            Height = 14
            Caption = 'CST'
            FocusControl = DBEdit25
          end
          object Label39: TLabel
            Left = 56
            Top = 102
            Width = 29
            Height = 14
            Caption = 'CFOP'
            FocusControl = DBEdit26
          end
          object Label40: TLabel
            Left = 168
            Top = 102
            Width = 50
            Height = 14
            Caption = 'Vlr. ICMS'
            FocusControl = DBEdit27
          end
          object Label41: TLabel
            Left = 312
            Top = 102
            Width = 35
            Height = 14
            Caption = 'Vlr. IPI'
            FocusControl = DBEdit28
          end
          object Label42: TLabel
            Left = 8
            Top = 150
            Width = 65
            Height = 14
            Caption = 'Observa'#231#227'o'
            FocusControl = DBEdit29
          end
          object Label43: TLabel
            Left = 456
            Top = 101
            Width = 58
            Height = 14
            Caption = 'Base ICMS'
            FocusControl = DBEdit30
          end
          object DBEdit16: TDBEdit
            Left = 8
            Top = 22
            Width = 43
            Height = 22
            DataField = 'REF_NOTC_SERIE'
            DataSource = dsCompra
            TabOrder = 0
          end
          object DBEdit17: TDBEdit
            Left = 80
            Top = 22
            Width = 121
            Height = 22
            DataField = 'REF_NOTAC_NUMERO'
            DataSource = dsCompra
            TabOrder = 1
            OnExit = DBEdit17Exit
          end
          object DBEdit18: TDBEdit
            Left = 217
            Top = 22
            Width = 30
            Height = 22
            DataField = 'REF_NOTC_ITEM'
            DataSource = dsCompra
            TabOrder = 2
            OnExit = DBEdit18Exit
          end
          object DBEdit19: TDBEdit
            Left = 8
            Top = 70
            Width = 153
            Height = 22
            DataField = 'PRO_CODIGO'
            DataSource = dsCompra
            TabOrder = 3
          end
          object DBEdit20: TDBEdit
            Left = 168
            Top = 70
            Width = 73
            Height = 22
            DataField = 'ITNC_QUANTIDADE'
            DataSource = dsCompra
            TabOrder = 4
          end
          object DBEdit21: TDBEdit
            Left = 248
            Top = 70
            Width = 97
            Height = 22
            DataField = 'ITNC_VALORUNIT'
            DataSource = dsCompra
            TabOrder = 5
          end
          object DBEdit22: TDBEdit
            Left = 496
            Top = 70
            Width = 113
            Height = 22
            DataField = 'ITNC_DATAENTRADA'
            DataSource = dsCompra
            TabOrder = 8
            OnExit = DBEdit22Exit
          end
          object DBEdit23: TDBEdit
            Left = 424
            Top = 70
            Width = 65
            Height = 22
            DataField = 'ITNC_ALIQIPI'
            DataSource = dsCompra
            TabOrder = 7
            OnExit = DBEdit23Exit
          end
          object DBEdit24: TDBEdit
            Left = 352
            Top = 70
            Width = 65
            Height = 22
            DataField = 'ITNC_ALIQICMS'
            DataSource = dsCompra
            TabOrder = 6
            OnExit = DBEdit24Exit
          end
          object DBEdit25: TDBEdit
            Left = 8
            Top = 118
            Width = 43
            Height = 22
            DataField = 'ITNC_CST'
            DataSource = dsCompra
            TabOrder = 9
            OnExit = DBEdit25Exit
          end
          object DBEdit26: TDBEdit
            Left = 56
            Top = 118
            Width = 69
            Height = 22
            DataField = 'CODF_CODIGO'
            DataSource = dsCompra
            TabOrder = 10
          end
          object DBEdit27: TDBEdit
            Left = 168
            Top = 118
            Width = 134
            Height = 22
            DataField = 'ITNC_ICMS'
            DataSource = dsCompra
            TabOrder = 11
          end
          object DBEdit28: TDBEdit
            Left = 312
            Top = 118
            Width = 134
            Height = 22
            DataField = 'ITNC_IPI'
            DataSource = dsCompra
            TabOrder = 12
          end
          object DBEdit29: TDBEdit
            Left = 8
            Top = 166
            Width = 436
            Height = 22
            DataField = 'ITNC_OBSERVACAO'
            DataSource = dsCompra
            TabOrder = 14
          end
          object DBEdit30: TDBEdit
            Left = 456
            Top = 117
            Width = 134
            Height = 22
            DataField = 'ITNC_BCALCICMS'
            DataSource = dsCompra
            TabOrder = 13
          end
        end
      end
    end
  end
  inherited Panel4: TPanel
    Top = 657
    Width = 952
    inherited btnGravar: TFlatButton
      OnClick = btnGravarClick
    end
    inherited BtnEliminar: TFlatButton
      Left = 213
      Visible = False
    end
    inherited btnCancelar: TFlatButton
      Left = 417
    end
    inherited btnlistagem: TFlatButton
      Left = 621
      Visible = False
    end
    inherited btnFechar: TFlatButton
      Left = 825
    end
  end
  inherited BS: TStatusBar
    Top = 705
    Width = 952
  end
  object tqVenda: TQuery
    SQL.Strings = (
      'Select * from ITEMNOTAVENDA')
    Left = 224
    Top = 46
    object tqVendaNOTA_SERIE: TStringField
      FieldName = 'NOTA_SERIE'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.NOTA_SERIE'
      Size = 3
    end
    object tqVendaNOTA_NUMERO: TStringField
      FieldName = 'NOTA_NUMERO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.NOTA_NUMERO'
      Size = 9
    end
    object tqVendaENT_CODIGO: TStringField
      FieldName = 'ENT_CODIGO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ENT_CODIGO'
      Size = 5
    end
    object tqVendaITNV_ITEM: TStringField
      FieldName = 'ITNV_ITEM'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_ITEM'
      Size = 2
    end
    object tqVendaREF_SERIE: TStringField
      FieldName = 'REF_SERIE'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.REF_SERIE'
      Size = 3
    end
    object tqVendaREF_NUMERO: TStringField
      FieldName = 'REF_NUMERO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.REF_NUMERO'
      Size = 9
    end
    object tqVendaREF_ENT_CODIGO: TStringField
      FieldName = 'REF_ENT_CODIGO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.REF_ENT_CODIGO'
      Size = 5
    end
    object tqVendaREF_ITNV_ITEM: TStringField
      FieldName = 'REF_ITNV_ITEM'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.REF_ITNV_ITEM'
      Size = 2
    end
    object tqVendaPRO_CODIGO: TStringField
      FieldName = 'PRO_CODIGO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.PRO_CODIGO'
    end
    object tqVendaEMP_CODIGO: TStringField
      FieldName = 'EMP_CODIGO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.EMP_CODIGO'
      Size = 3
    end
    object tqVendaITNV_QUANTIDADE: TFloatField
      FieldName = 'ITNV_QUANTIDADE'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_QUANTIDADE'
    end
    object tqVendaITNV_VALORUNIT: TFloatField
      FieldName = 'ITNV_VALORUNIT'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_VALORUNIT'
    end
    object tqVendaITNV_ALIQDESC: TFloatField
      FieldName = 'ITNV_ALIQDESC'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_ALIQDESC'
    end
    object tqVendaITNV_ALIQIPI: TFloatField
      FieldName = 'ITNV_ALIQIPI'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_ALIQIPI'
    end
    object tqVendaITNV_DATAFAT: TDateTimeField
      FieldName = 'ITNV_DATAFAT'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_DATAFAT'
    end
    object tqVendaITNV_COMISREP: TFloatField
      FieldName = 'ITNV_COMISREP'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_COMISREP'
    end
    object tqVendaITNV_CUSTOMEDIO: TFloatField
      FieldName = 'ITNV_CUSTOMEDIO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_CUSTOMEDIO'
    end
    object tqVendaITNV_DESC2: TFloatField
      FieldName = 'ITNV_DESC2'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_DESC2'
    end
    object tqVendaITNV_DESC3: TFloatField
      FieldName = 'ITNV_DESC3'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_DESC3'
    end
    object tqVendaITNV_DESC4: TFloatField
      FieldName = 'ITNV_DESC4'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_DESC4'
    end
    object tqVendaITNV_DESC5: TFloatField
      FieldName = 'ITNV_DESC5'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_DESC5'
    end
    object tqVendaITNV_ALIQICMS: TFloatField
      FieldName = 'ITNV_ALIQICMS'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_ALIQICMS'
    end
    object tqVendaITNV_CST: TStringField
      FieldName = 'ITNV_CST'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_CST'
      Size = 3
    end
    object tqVendaCODF_CODIGO: TStringField
      FieldName = 'CODF_CODIGO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.CODF_CODIGO'
      Size = 5
    end
    object tqVendaICMS_CODIGO: TStringField
      FieldName = 'ICMS_CODIGO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ICMS_CODIGO'
      Size = 2
    end
    object tqVendaITNV_CUSTO: TFloatField
      FieldName = 'ITNV_CUSTO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_CUSTO'
    end
    object tqVendaITNV_OBSERVACAO: TStringField
      FieldName = 'ITNV_OBSERVACAO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_OBSERVACAO'
      Size = 40
    end
    object tqVendaITNV_ICMS: TFloatField
      FieldName = 'ITNV_ICMS'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_ICMS'
    end
    object tqVendaITNV_IPI: TFloatField
      FieldName = 'ITNV_IPI'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_IPI'
    end
    object tqVendaITNV_ESTOQUEBAIXADO: TStringField
      FieldName = 'ITNV_ESTOQUEBAIXADO'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_ESTOQUEBAIXADO'
      Size = 1
    end
    object tqVendaITNV_VALORFRETE: TFloatField
      FieldName = 'ITNV_VALORFRETE'
      Origin = 'INDUSTRIAL.ITEMNOTAVENDA.ITNV_VALORFRETE'
    end
  end
  object dsVenda: TDataSource
    DataSet = CDSVenda
    Left = 325
    Top = 46
  end
  object CDSVenda: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspVenda'
    BeforeInsert = CDSVendaBeforeInsert
    AfterInsert = CDSVendaAfterInsert
    AfterEdit = CDSVendaAfterEdit
    BeforePost = CDSVendaBeforePost
    AfterPost = CDSVendaAfterPost
    AfterCancel = CDSVendaAfterCancel
    Left = 290
    Top = 45
    object CDSVendaNOTA_SERIE: TStringField
      FieldName = 'NOTA_SERIE'
      Size = 3
    end
    object CDSVendaNOTA_NUMERO: TStringField
      FieldName = 'NOTA_NUMERO'
      Size = 9
    end
    object CDSVendaENT_CODIGO: TStringField
      FieldName = 'ENT_CODIGO'
      Size = 5
    end
    object CDSVendaITNV_ITEM: TStringField
      FieldName = 'ITNV_ITEM'
      Size = 2
    end
    object CDSVendaREF_SERIE: TStringField
      FieldName = 'REF_SERIE'
      Size = 3
    end
    object CDSVendaREF_NUMERO: TStringField
      FieldName = 'REF_NUMERO'
      Size = 9
    end
    object CDSVendaREF_ENT_CODIGO: TStringField
      FieldName = 'REF_ENT_CODIGO'
      Size = 5
    end
    object CDSVendaREF_ITNV_ITEM: TStringField
      FieldName = 'REF_ITNV_ITEM'
      Size = 2
    end
    object CDSVendaPRO_CODIGO: TStringField
      FieldName = 'PRO_CODIGO'
    end
    object CDSVendaEMP_CODIGO: TStringField
      FieldName = 'EMP_CODIGO'
      Size = 3
    end
    object CDSVendaITNV_QUANTIDADE: TFloatField
      FieldName = 'ITNV_QUANTIDADE'
    end
    object CDSVendaITNV_VALORUNIT: TFloatField
      FieldName = 'ITNV_VALORUNIT'
    end
    object CDSVendaITNV_ALIQDESC: TFloatField
      FieldName = 'ITNV_ALIQDESC'
    end
    object CDSVendaITNV_ALIQIPI: TFloatField
      FieldName = 'ITNV_ALIQIPI'
    end
    object CDSVendaITNV_DATAFAT: TDateTimeField
      FieldName = 'ITNV_DATAFAT'
      EditMask = '!99/99/0000;1;_'
    end
    object CDSVendaITNV_COMISREP: TFloatField
      FieldName = 'ITNV_COMISREP'
    end
    object CDSVendaITNV_CUSTOMEDIO: TFloatField
      FieldName = 'ITNV_CUSTOMEDIO'
    end
    object CDSVendaITNV_DESC2: TFloatField
      FieldName = 'ITNV_DESC2'
    end
    object CDSVendaITNV_DESC3: TFloatField
      FieldName = 'ITNV_DESC3'
    end
    object CDSVendaITNV_DESC4: TFloatField
      FieldName = 'ITNV_DESC4'
    end
    object CDSVendaITNV_DESC5: TFloatField
      FieldName = 'ITNV_DESC5'
    end
    object CDSVendaITNV_ALIQICMS: TFloatField
      FieldName = 'ITNV_ALIQICMS'
    end
    object CDSVendaITNV_CST: TStringField
      FieldName = 'ITNV_CST'
      Size = 3
    end
    object CDSVendaCODF_CODIGO: TStringField
      FieldName = 'CODF_CODIGO'
      EditMask = '0.000'
      Size = 5
    end
    object CDSVendaICMS_CODIGO: TStringField
      FieldName = 'ICMS_CODIGO'
      Size = 2
    end
    object CDSVendaITNV_CUSTO: TFloatField
      FieldName = 'ITNV_CUSTO'
    end
    object CDSVendaITNV_OBSERVACAO: TStringField
      FieldName = 'ITNV_OBSERVACAO'
      Size = 40
    end
    object CDSVendaITNV_ICMS: TFloatField
      FieldName = 'ITNV_ICMS'
    end
    object CDSVendaITNV_IPI: TFloatField
      FieldName = 'ITNV_IPI'
    end
    object CDSVendaITNV_ESTOQUEBAIXADO: TStringField
      FieldName = 'ITNV_ESTOQUEBAIXADO'
      Size = 1
    end
    object CDSVendaITNV_VALORFRETE: TFloatField
      FieldName = 'ITNV_VALORFRETE'
    end
  end
  object dspVenda: TDataSetProvider
    DataSet = tqVenda
    Left = 256
    Top = 45
  end
  object tqCompra: TQuery
    SQL.Strings = (
      'Select * from ITEMNOTACOMPRA')
    Left = 224
    Top = 80
  end
  object dspCompra: TDataSetProvider
    DataSet = tqCompra
    Left = 256
    Top = 79
  end
  object CDSCompra: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspCompra'
    BeforeInsert = CDSCompraBeforeInsert
    AfterInsert = CDSCompraAfterInsert
    AfterEdit = CDSCompraAfterEdit
    BeforePost = CDSCompraBeforePost
    AfterPost = CDSCompraAfterPost
    AfterCancel = CDSCompraAfterCancel
    Left = 292
    Top = 79
    object CDSCompraNOTAC_NUMERO: TStringField
      FieldName = 'NOTAC_NUMERO'
      Size = 9
    end
    object CDSCompraNOTC_SERIE: TStringField
      FieldName = 'NOTC_SERIE'
      Size = 3
    end
    object CDSCompraENT_CODIGO: TStringField
      FieldName = 'ENT_CODIGO'
      Size = 5
    end
    object CDSCompraNOTC_ITEM: TStringField
      FieldName = 'NOTC_ITEM'
      Size = 2
    end
    object CDSCompraREF_NOTAC_NUMERO: TStringField
      FieldName = 'REF_NOTAC_NUMERO'
      Size = 9
    end
    object CDSCompraREF_NOTC_SERIE: TStringField
      FieldName = 'REF_NOTC_SERIE'
      Size = 3
    end
    object CDSCompraREF_ENT_CODIGO: TStringField
      FieldName = 'REF_ENT_CODIGO'
      Size = 5
    end
    object CDSCompraREF_NOTC_ITEM: TStringField
      FieldName = 'REF_NOTC_ITEM'
      Size = 2
    end
    object CDSCompraPRO_CODIGO: TStringField
      FieldName = 'PRO_CODIGO'
    end
    object CDSCompraITNC_QUANTIDADE: TFloatField
      FieldName = 'ITNC_QUANTIDADE'
    end
    object CDSCompraITNC_VALORUNIT: TFloatField
      FieldName = 'ITNC_VALORUNIT'
      currency = True
    end
    object CDSCompraITNC_DATAENTRADA: TDateTimeField
      FieldName = 'ITNC_DATAENTRADA'
      EditMask = '!99/99/0000;1;_'
    end
    object CDSCompraITNC_DESCONTO: TFloatField
      FieldName = 'ITNC_DESCONTO'
    end
    object CDSCompraITNC_ALIQIPI: TFloatField
      FieldName = 'ITNC_ALIQIPI'
    end
    object CDSCompraITNC_CUSTOMEDIO: TFloatField
      FieldName = 'ITNC_CUSTOMEDIO'
    end
    object CDSCompraITNC_CONTROLE: TStringField
      FieldName = 'ITNC_CONTROLE'
      Size = 1
    end
    object CDSCompraITNC_ALIQICMS: TFloatField
      FieldName = 'ITNC_ALIQICMS'
    end
    object CDSCompraITNC_CST: TStringField
      FieldName = 'ITNC_CST'
      Size = 3
    end
    object CDSCompraCODF_CODIGO: TStringField
      FieldName = 'CODF_CODIGO'
      EditMask = '0.000'
      Size = 5
    end
    object CDSCompraITNC_OBSERVACAO: TStringField
      FieldName = 'ITNC_OBSERVACAO'
      Size = 60
    end
    object CDSCompraITNC_ICMS: TFloatField
      FieldName = 'ITNC_ICMS'
      currency = True
    end
    object CDSCompraITNC_IPI: TFloatField
      FieldName = 'ITNC_IPI'
      currency = True
    end
    object CDSCompraICMS_CODIGO: TStringField
      FieldName = 'ICMS_CODIGO'
      Size = 2
    end
    object CDSCompraITNC_VALORFRETE: TFloatField
      FieldName = 'ITNC_VALORFRETE'
    end
    object CDSCompraITNC_BCALCICMS: TFloatField
      FieldName = 'ITNC_BCALCICMS'
    end
  end
  object dsCompra: TDataSource
    DataSet = CDSCompra
    Left = 325
    Top = 79
  end
end
